class Laptop:
    def __init__(self, model, electric: float = 10, color: str = None, weight: float = 2, cpu: str = None, memory: str = None, hard_disk: str = None):
        self.model = model
        self.electric = electric
        self.color = color
        self.weight = weight
        self.cpu = cpu
        self.memory = memory
        self.hard_disk = hard_disk

    def play_game(self, game: str):
        print(f'playing {game} by {self.model}')

    def work(self):
        print(f'working by {self.model}')
